package com.dominator.enums;


public enum  ReqEnums  {

    SYS_ERROR("400", "系统异常"),
    REQ_SUCCESS("200", "请求成功"),
    REQ_PARAM_MISS("102", "请求参数缺少"),
    REQ_TOKEN_FALSE("103", "请求过期"),
    REQ_INCORRECT_CODE("104", "短信验证码错误"),
    REQ_PARAM_ERROR("105", "请求参数错误"),
    REQ_RESULT_NULL("106", "请求结果为空"),
    REQ_ORDER_ERROR("107", "订单生成失败"),
    REQ_TRADE_ERROR("109", "交易失败"),
    REQ_UPDATE_ERROR("110", "更新失败"),
    REQ_EMAIL_ERROR("111", "发送邮件失败"),

    ;

    /**
     * code
     */
    private String code;
    /**
     * msg
     */
    private String msg;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private ReqEnums(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
